package com.yc.cloud.openai.portal.dao;

import com.yc.cloud.openai.portal.dto.PromptDto;
import com.yc.cloud.openai.portal.dto.request.TextToVideoRequest;
import com.yc.cloud.openai.portal.dto.response.ComfyUiHistoryResponse;

public interface TextToVideoClient {

    /**
     * 文本转视频
     *
     * @param request, prompt:提示词 ,width:图片宽度,height:图片高度,style:风格
     * @return 任务ID
     */
    PromptDto convertTextToVideo(TextToVideoRequest request);

    /**
     * 获取历史记录
     *
     * @param promptId 任务ID
     * @return 历史记录
     */
    ComfyUiHistoryResponse history(String promptId, String type);

   
}
